<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>User Register</title>
<meta name="viewport" content="width=device-width,initial-scale=1.0">

<!-- Bootstrap css -->
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">

<style type="text/css">
	.form-register {
        padding: 19px 29px 29px;
        background-color: #fff;
        border: 1px solid #e5e5e5;
        -webkit-border-radius: 5px;
           -moz-border-radius: 5px;
                border-radius: 5px;
        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
           -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
                box-shadow: 0 1px 2px rgba(0,0,0,.05);
      }
</style>
</head>
<body>
	<div class="container">
		<div class="navbar">
			<div class="navbar-inner">
				<a class="brand" href="index.html">FlySky</a>
					<ul class="nav">
						<li><a href="index.html">首页</a></li>
						<li><a href="undo.htm">记事</a></li>
						<li><a href="undo.htm">相册</a></li>
						<li><a href="undo.htm">财务</a></li>
						<li><a href="undo.htm">同学录</a></li>
					</ul>
					<form action="" class="navbar-form pull-right">
					  <input name="username" class="span2" type="text" placeholder="User Name"/>
					  		  <input name="userPassWord" class="span2" type="text" placeholder="Password" />
					  <button class="btn btn-primary" type="submit">Sign in</button>
					</form>
			</div>
		</div>
		<div class="container">
			<form id="registerForm" action="register.htm" class="form-register" method="post">
				<div>
					<div id="username_group" class="input-prepend">
						<span class="add-on"><i class="icon-user"></i></span>
						<input id="username" name ="name" class="span3" type="text" placeholder="User Name">
					</div>
					<span class="text-error">*</span>
					<br>
					<div id="password_group" class="input-prepend">
						<span class="add-on"><i class="icon-lock"></i></span>
						<input id="password1" name ="password" class="span3" type="password" placeholder="Password">
					</div>
					<span class="text-error">*</span>
					<br>
					<div id="confirmpassword_group" class="input-prepend">
						<span class="add-on"><i class="icon-lock"></i></span>
						<input id="password2" name ="confirmpassword" class="span3" type="password" placeholder="Confirm Password" onBlur="checkword()">
					</div>
					<span class="text-error">*</span>
					<br>
					<div id="email_group" class="input-prepend">
						<span class="add-on"><i class="icon-envelope"></i></span>
						<input id="email" name="email" class="span3" type="text" placeholder="email">
					</div>
					<span class="text-error">*</span>
					<br>
					<button class="btn btn-primary" type="button" onclick="formSubmit()">Submit</button>
					<button class="btn btn-primary" type="reset">Reset</button>
				</div>
			</form>
		</div>
	</div>
	
	
	<!-- script -->
	<script src="js/bootstrap.min.js" type="text/javascript"></script>
	<script src="http://code.jquery.com/jquery-1.10.1.min.js" type="text/javascript"></script>
	<script src="js/registerAction.js" type="text/javascript"></script>
</body>
</html>